GlobalConfigCtl = Ext.extend(CmpControler, {

			bulidComponent : function() {

				this.sh = window.screen.height;
				this.sw = window.screen.width;
				this.ccgch = 300;
				
				this.aawch=500;
				this.aawcw=800;
				
				this.acgch=200;
				
				this.owch=500;
				this.owcw=800;
				
				this.oswch=500;
				this.oswcw=800;
				
				this.wdwch=500;
				this.wdwcw=800;
				
				return this;
			},
			load : function() {

				var s = cf.getC('s');
				s.request({
							resource : 'user.do',
							act : 'getCurUsr',
							cbf : this.configProperty,
							scope : this
						});

			},
			configProperty : function(response) {

				var user = response.items[0].user;
				this.user = user;
				var permissions = response.items[0].permissions;
				this.user.permissions=permissions;

				var vpc = cf.getC('vpc');
				vpc.bdCmp();

			}

		});
